package taobaoke.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/manager")
public class HelloWorldController {
	public HelloWorldController() {
		System.out.println("init hello world controller");
	}

	@RequestMapping({ "/helloWorld", "/" })
	public String helloWorld(Model model) {
		return "helloworld";
	}
}